Package-level declarations

Types

Link copied to clipboard
class DefaultFileChangeLog(changes: MutableList<FileModification> = mutableListOf()) : FileChangeLog

Convenient file change log implementation that stores changes in memory and correctly handles duplicates.

Link copied to clipboard
class DefaultFileReadLog(reads: MutableMap<String, FileReads> = mutableMapOf()) : FileReadLog

Convenient file change log implementation that stores changes in memory and correctly handles duplicates.

Link copied to clipboard
interface FileAccessLog

Tracks access context

Link copied to clipboard
interface FileChangeLog
Link copied to clipboard
data class FileModification(val path: String, val type: FileModificationType)
Link copied to clipboard
interface FileReadLog

The FileReadLog can be useful for stats and to understand the context that has been accessed

Link copied to clipboard
data class FileReads(val path: String, val reads: List<Instant> = emptyList())

Represents reads of a file

Link copied to clipboard

LLM-ready ToolCallbacks and convenience methods for file operations. Use at your own risk: This makes changes to your host machine!!

Link copied to clipboard

Read and Write file tools. Extend FileReadTools for safe read only use

Link copied to clipboard

All file modifications must go through this interface.

Link copied to clipboard

Adds low level pattern search methods to the com.embabel.agent.tools.DirectoryBased interface

Link copied to clipboard

Provides common implementations of FileContentTransformer for reducing file content bloat. These transformers can be used to clean up file content before sending it to LLMs or other text processing systems to reduce token usage and improve performance by helping them to focus on essential code.